package com.cz.zslu.service;

import com.cz.zslu.entity.BaseAttachment;
import com.baomidou.mybatisplus.service.IService;

import java.util.List;

/**
 * <p>
 * 附件 服务类
 * </p>
 *
 * @author 森森
 */
public interface IBaseAttachmentService extends IService<BaseAttachment> {

    List<BaseAttachment> selectListByTheirIdAndType(Long id, String type);

    /**
     * 绑定附件所属
     *
     * @param ids
     * @param theirId
     * @param type
     * @return
     */
    Integer upTheirByIds(Long[] ids, Long theirId, String type);


}
